<template>
  <posts-list :my_posts="shouldShowMyPosts"></posts-list>
</template>

<script setup>
import { ref } from 'vue'
import PostsList from '@/components/postsList/index.vue'

// 动态控制参数（示例使用按钮切换）
const shouldShowMyPosts = ref(false)

</script>